/*
 * @(#)BasicServiceConfig.java
 * Date 2013-10-14
 * Version 1.0
 * Author Jim Horner
 * Copyright (c)2012
 */


package us.hornerscorners.lamppost.config;

/**
 * Class description
 *
 *
 * @version        v1.0, 2013-10-14
 * @author         Jim Horner
 */
public class BasicServiceConfig implements IServiceConfig {

    /** Field description */
    private String id;

    /** Field description */
    private String name;

    /** Field description */
    private final IServiceType serviceType;

    /**
     * Constructs ...
     *
     *
     * @param serviceType
     */
    public BasicServiceConfig(IServiceType serviceType) {

        super();
        this.serviceType = serviceType;
    }

    /**
     * Method description
     *
     *
     * @return
     */
    public String getId() {
        return id;
    }

    /**
     * Method description
     *
     *
     * @return
     */
    @Override
    public String getName() {
        return name;
    }

    /**
     * Method description
     *
     *
     * @return
     */
    @Override
    public IServiceType getServiceType() {
        return this.serviceType;
    }

    /**
     * Method description
     *
     *
     * @param deviceId
     */
    public void setId(String deviceId) {
        this.id = deviceId;
    }

    /**
     * Method description
     *
     *
     * @param deviceName
     */
    public void setName(String deviceName) {
        this.name = deviceName;
    }
}
